package com.beyondbit.demo.service;

import com.beyondbit.demo.entity.User;
import com.beyondbit.demo.entity.query.UserQuery;
import com.beyondbit.web.infrastructure.entity.Page;

/**
 * @Author: lvfahai
 * @Date: 2020/3/10 11:27
 */
public interface UserService {

    Page<User> query(UserQuery query);

    User get(String id);

    void add(User user) throws BaseUserServiceException;

    void update(User user);

    void delete(String id);

    User selUserByUser(String userUid);
}
